OTP\Objects\FormHandler S

Total Complexity 47
Dependencies 7
Dependents 0
Total lines 514
Lines of code 133
Logical lines of code 59
Comment lines 276
Methods 33
Properties 31

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
S
53 6 21
sanitize_form_post()
S
66 4 7
basic_validation_check()
S
68 3 7
validate_ajax_request()
S
64 2 11
is_ajax_form_in_play()
S
79 2 3
get_verification_type()
S
66 2 8
is_login_or_social_form()
S
79 2 3
send_challenge()
S
63 1 13
is_ajax_form()
S
86 1 2
is_add_on_form()
S
86 1 2
is_form_enabled()
S
86 1 2
get_form_option()
S
86 1 2
get_is_login_or_social_form()
S
85 1 2
bypass_for_logged_in_users()
S
86 1 2
restrict_duplicates()
S
86 1 2
get_form_details()
S
86 1 2
get_enter_otp_field_text()
S
84 1 2
get_verify_button_text()
S
84 1 2
get_button_text()
S
84 1 2
get_form_name()
S
86 1 2
get_email_key_details()
S
86 1 2
get_phone_key_details()
S
86 1 2
disable_auto_activation()
S
86 1 2
get_otp_type_enabled()
S
86 1 2
get_verify_field_key()
S
86 1 2
get_form_key()
S
86 1 2
get_both_html_tag()
S
86 1 2
get_email_html_tag()
S
86 1 2
get_phone_html_tag()
S
86 1 2
ajax_processing_fields()
S
67 1 8
validate_challenge()
S
79 1 3
mo_autofill_script_load()
S
72 1 5
get_form_documents()
S
86 1 2